{template game_header}

<style type="text/css">
td{text-align:center;}
</style>

<h4 style="padding-left:10px;;">
    <span>正能量变动值信息</span>
</h4>

<div class="bs-docs-example table-align pt-15" style="clear:both;">
    <table class="table table-striped">
        <thead>
            <tr>
                <th>日期</th>
                <th>产生值</th>
                <th>消耗值</th>
            </tr>
        </thead>
        <tbody>
            {if !$energyData}  
                <tr>
                    <td colspan="3">暂无记录</td>              
                </tr>
            {else}
            {loop $energyData $k $v}
            <tr>
                <td>{$v['date']}</td>
                <td>{$v['addEnergy']}</td>
                <td>{$v['expendEnergy']}</td>
            </tr>
            {/loop}
            {/if}
        </tbody>
    </table>
</div>
{template footer}
